AliNext_Lite\ImportAjaxController D

Total Complexity 284
Dependencies 13
Dependents 0
Total lines 1,129
Lines of code 900
Logical lines of code 640
Comment lines 26
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
ajax_update_product_info()
D
20
68 174
ajax_split_product()
D
28
39 131
ajax_load_shipping_info()
C
35 31 67
ajax_push_product()
B
36 19 81
ajax_set_shipping_info()
B
43 18 43
ajax_import_images_action()
A
48 14 30
ajax_add_to_import()
A
43 13 43
ajax_import_cancel_images_action()
A
49 13 26
ajax_link_to_aliexpress_category()
A
44 9 45
ajax_override_product()
A
52 10 21
ajax_link_to_category()
A
52 9 22
ajax_remove_from_import()
S
51 7 26
ajax_search_products()
S
49 7 25
ajax_delete_import_products()
S
56 5 19
ajax_search_tags()
S
52 4 22
loadAliexpressCategoryToWoocommerce()
S
55 3 20
ajax_cancel_override_product()
S
58 3 15
ajax_override_variations()
S
59 3 14
ajax_get_product()
S
59 3 14
prepareSystemForImport()
S
57 2 17
__construct()
S
49 1 28
woocommerce_after_add_product()
S
70 1 6
ajax_get_all_products_to_import()
S
69 1 7
ajax_update_shipping_list()
S
77 1 4